package zdar;

import zdar.screens.MainMenuScreen;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class Zdar extends Game {
	public SpriteBatch batch;
	public BitmapFont font;
	
	@Override
	public void create () {
		batch = new SpriteBatch();
		font = new BitmapFont();	//default Arial hopefully
				
		play();
	}
	
	private void play(){
		this.setScreen(new MainMenuScreen(this));
	}

	@Override
	public void render () {
		super.render();
	}
	
	public void dispose(){
		batch.dispose();
		font.dispose();
	}
}





/* --=-- For reference, desktop project just looks like this: --=--
public class DesktopLauncher {
	public static void main (String[] arg) {
		LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
		config.title = "zDAR";
		config.width = 1280;
		config.height = 720;
		new LwjglApplication(new Zdar(), config);new LwjglApplication(new Zdar(), config);
	}
}


*/